from django.urls import path
from . import views

urlpatterns = [
    path('list', views.ListAPI.as_view()),             # 系统管理-角色管理-表格数据
    path('tree', views.TreeAPI.as_view()),
    path('grant', views.GrantAPI.as_view()),           # 给角色分配菜单
    path('submit', views.SubmitAPI.as_view()),         # 新增/修改
    path('remove', views.RemoveAPI.as_view()),         # 删除菜单
]